package br.com.covosys.model;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import br.com.covosys.dao.UsuarioDAO;
import br.com.covosys.model.bean.Usuario;

public interface UsuarioModel extends GenericModel<Usuario, UsuarioDAO> {
	
	@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
	public void save(Usuario usuario, String senhaDeConfirmacao) throws ModelException;
	
}
